package com.jiazhong.多态and转型.Test01;

public class Test {
    public static void main(String[] args) {
        Animal animal=new Dog("狗");
        Food food= new Bone("骨头");
        Master master=new Master("张三");
        master.feed(animal,food);
    }
}
